home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Bus / C / Commander 2.1 Demo .sit / Commander 2.1 Demo / 4D Reference Info Demo.rsrc / TEXT_5511_Printing.txt < prev    next >
Encoding:
Text File  |  1994-11-09  |  3.5 KB  |  48 lines

  1.  PRINTING
  2.  
  3.  
  4. Printing reports is often the most important job of a database. The commands in this section allow you to use 4th DIMENSlON's flexible reporting capabilities.
  5.  
  6.     BREAK¬†LEVEL
  7.     FORM¬†FEED
  8.   ¬†Level
  9.   ¬†ACCUMULATE
  10.       PAGE¬†SETUP
  11.       PRINT¬†LABEL
  12.       PRINT¬†LAYOUT
  13.     ¬†REPORT
  14.       PRINT¬†SELECTION
  15.     ¬†Subtotal
  16.    PRINT¬†SETTINGS 
  17.    Printing¬†page
  18.  
  19.  
  20. You can use the PRINT¬†SELECTION, PRINT¬†LAYOUT, and PRINT¬†LABEL commands to generate reports with layouts created in the Design environment. You can use the ¬†REPORT and PRINT¬†LABEL commands to generate reports without using layouts.
  21.  
  22. A report printed with a layout can have almost any kind of design. The report can include graphics, and the elements making up the report can be arranged in any manner. A report printed with a layout also executes the associated layout procedure, which gives tremendous processing capabilities.
  23.  
  24. Reports generated with the Quick Report and Label editors are usually simpler in design. The user can design a report *from scratch by using these editors. The report designs can be stored on disk. These reports do not use layouts and therefore do not execute layout procedures.
  25.  
  26. The three primary reporting commands, ¬†REPORT, PRINT¬†SELECTION, and PRINT¬†LAYOUT, vary in degree of flexibility. Generally, the more flexible a command is, the more you as a designer need to do to generate a report.
  27.  
  28.  
  29. ¬†REPORT is the simplest report generator. It uses the same Quick Report editor that you use in the User environment. The user interface is a simple point, click, and drag interface. The style of a report is a row and column format that can include headers, footers, different fonts and styles, formatting, formulas, breaks, totals, calculations, and multicolumn variable-length text. The report can be printed to a high-speed serial device. The report can also be converted to a graph or an ASCII file.
  30.  
  31.  
  32. PRINT¬†SELECTION is the most commonly used printing command. It uses an output layout that can be of any design. The command allows headers, footers, different fonts and styles, formatting, formulas, breaks, totals, and calculations. Simple reports can be generated without layout procedures, but most reports will include a layout procedure and scripts to process the report.
  33.  
  34.  
  35. PRINT¬†LAYOUT is the most flexible of all the printing commands and also the most demanding for the designer. It allows you to mix different layouts on the same page and to include form feeds at any time during the report. PRINT¬†LAYOUT is used for the most complex printing jobs.
  36.  
  37.  
  38. PRINT¬†LABEL can print labels with a layout, providing a high degree of flexibility, or it can use the Label editor as provided in the User environment, letting the user design the label as needed. Since it can print records side-by-side, this command can also be used to generate unusual reports.
  39.  
  40.  
  41. All of the print commands except for PRINT¬†LAYOUT, print the current selection. It is common to sort the selection before printing.
  42.  
  43. When a user prints a report, he or she may elect to preview it on the screen. During printing, 4th DIMENSION displays the current page being printed and the status of the print job. If the user previews it on the screen, he or she may print the current page by clicking the Print button.
  44.  
  45. The user may cancel printing by clicking the Stop Printing button. If the user cancels printing either by clicking this button or by canceling a printer dialog box, the OK system variable is set to 0. If the printing is successful, the OK system variable is set to 1.
  46.  
  47.  
  48.